package com.bjdd.jdy.ui.feedback;

import com.bjdd.jdy.base.BaseModel;
import com.bjdd.jdy.base.BasePresenter;
import com.bjdd.jdy.base.BaseResult;
import com.bjdd.jdy.base.BaseView;
import com.bjdd.jdy.entity.FeedBack;

import rx.Observable;

/**
 * Created by Administrator on 2017/5/9.
 */

public interface FeedBackContract {
    interface View extends BaseView{
        void feedBackSuccess();
    }
    interface Model extends BaseModel{
        Observable<BaseResult<String>> feedBack(String token, FeedBack feedBack, String content, String userId);
    }
    abstract class Presenter extends BasePresenter<Model,View>{
        abstract void feedBack(FeedBack feedBack,String content);
    }
}
